portrayed autobiographically

Translations
изображен автобиографически
The main character is portrayed autobiographically, reflecting the author's life.
Главный персонаж изображен автобиографически, отражая жизнь автора.